<template>
    <div>
        <van-grid :border="false" :column-num="2">
            <van-grid-item v-for="(v, i) in props.list" :key="i">
                <van-image
                    :src="v.goods_small_logo ? v.goods_small_logo : 'https://fastly.jsdelivr.net/npm/@vant/assets/apple-1.jpeg'" />
                <p>{{ v.goods_name }}</p>
                <p style="font-size: 13px; color: red;">{{ v.goods_price }}</p>
            </van-grid-item>
        </van-grid>
    </div>
</template>

<script setup>
const props = defineProps(['list'])
</script>

<style lang="scss" scoped></style>